package net.xconcepts.stockdata.model;

import java.io.File;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

import net.xconcepts.stockdata.model.input.HistoricDataFeed;
import net.xconcepts.stockdata.model.models.AAPLModel;


public class Main {

	/**
	 * @param args
	 * @throws ParseException 
	 */
	public static void main(String[] args) throws ParseException {
		
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
		
		Date fromDate = sdf.parse("2009-01-01");
		Date toDate = sdf.parse("2012-01-01");
		
		HistoricDataFeed feed = new HistoricDataFeed(new File("TestData/NASDAQ"),
				fromDate, toDate);
		
		AAPLModel model = new AAPLModel();
		
		model.runSimulation(feed);
		
		
		
		
	}

}
